﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DriverEdit.aspx.cs" Inherits="Webcar.Driver.DriverEdit" %>

<%@ Register Assembly="WebPager" Namespace="Zw.Control" TagPrefix="cc1" %>

<%@ Register Src="../Controls/NaviBar.ascx" TagName="NaviBar" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>驾驶员信息编辑</title>
</head>
<body >
    <form id="form1" runat="server">
    <div class="TableEdit" >
        <div class="content" >
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <uc1:NaviBar ID="NaviBar1" runat="server" />
            <br />
            <div class="tips">
                <span>提示:带*号的项目必须录入</span>
                </div>
            <br />
            <table id = "t" cellspacing="1" cellpadding="1" border="0">
                <tr class="tableAlterItems">
                    <td class="tdleft" >
                        *姓名：</td>
                    <td class="tdright">
                        <asp:TextBox ID="tbUserName" Width="97%" runat="server"></asp:TextBox></td>
                    <td class="tdleft" >
                        性别：</td>
                    <td class="tdright"><asp:DropDownList ID="ddlSex" Width="100%" runat="server">
                    </asp:DropDownList></td>
                </tr>
                <tr class="tableAlterItems">
                    <td class="tdleft" >
                        *所属单位：</td>
                    <td class="tdright">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                        <asp:DropDownList ID="ddlDept" Width="100%" runat="server" OnSelectedIndexChanged="ddlDept_SelectedIndexChanged" AutoPostBack="True">
                        </asp:DropDownList>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                    <td class="tdleft" >
                        下级单位：</td>
                    <td class="tdright">
                        <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                        <asp:DropDownList ID="ddlChildDept" Width="100%" runat="server">
                        </asp:DropDownList>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="ddlDept" EventName="SelectedIndexChanged" />
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                </tr>
                <tr class="tableAlterItems">
                    <td class="tdleft" >
                        *用工类别：</td>
                    <td class="tdright">
                        <asp:DropDownList ID="ddlJobKind" Width="100%" runat="server">
                        </asp:DropDownList></td>
                    <td class="tdleft" >
                        车号：</td>
                    <td class="tdright">
                        <asp:TextBox ID="tbRecordNo"  Width="97%" runat="server"></asp:TextBox></td>
                </tr>
                <tr class="tableAlterItems">
                    <td class="tdleft" >
                        *档案号：</td>
                    <td class="tdright" >
                        <asp:TextBox ID="tbArchiveNo" Width="97%" runat="server"></asp:TextBox></td>
                    <td class="tdleft"  >
                        *身份证号：</td>
                    <td class="tdright" >
                        <asp:TextBox ID="tbIdentity" Width="97%"  runat="server"></asp:TextBox></td>
                </tr>
                <tr class="tableAlterItems">
                    <td class="tdleft"   >
                        *准驾车型：</td>
                    <td >
                        <asp:TextBox ID="tbDriveType" runat="server" Width="97%"></asp:TextBox></td>
                    <td class="tdleft"  >
                        驾照号：</td>
                    <td >
                        <asp:TextBox ID="tbDriveNo" runat="server" Width="97%"></asp:TextBox></td>
                </tr>
                <tr class="tableAlterItems">
                    <td class="tdleft"   >
                        *初次领证时间：</td>
                    <td >
                        <cc1:Calendar ID="dtFirstDate" width="97%" runat="server"></cc1:Calendar></td>
                    <td class="tdleft"   >
                        生日：</td>
                    <td >
                        <cc1:Calendar ID="dtBirthday" runat="server" Width="97%"></cc1:Calendar></td>
                </tr>
                    <tr class="tableAlterItems">
                    <td class="tdleft"   >
                        *电话：</td>
                    <td >
                        <asp:TextBox ID="tbPhone" runat="server" Width="97%"></asp:TextBox></td>
                    <td class="tdleft"   >
                        教育程度：</td>
                    <td >
                        <asp:DropDownList ID="ddlEducation" Width="100%" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr class="tableAlterItems">
                    <td class="tdleft"  >
                        *家庭住址：</td>
                    <td align="left" >
                        <asp:TextBox ID="tbAddress" Width="99%" runat="server"></asp:TextBox></td>
                        <td class="tdleft"   >
                        是否发卡：</td>
                    <td >
                        <asp:DropDownList ID="ddlCard" Width="100%" runat="server">
                            <asp:ListItem Value="T">是</asp:ListItem>
                            <asp:ListItem Selected="True" Value="F">否</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr class="tableAlterItems">
                    <td class="tdleft"  >
                        技能等级：</td>
                    <td align="left" >
                        <asp:DropDownList ID="ddlClassLevel" Width="100%" runat="server">
                        </asp:DropDownList>
                        </td>
                        <td class="tdleft"   ></td>
                    <td ></td>
                </tr>
            </table>
            <br />
            <div class="footer">
                <div class="e">
                    <asp:Label ID="lblInfo" runat="server" ForeColor="Blue" Text=""></asp:Label>
                    <hr class="line_blue" />
                    <asp:Label ID="lblError" runat="server"></asp:Label>
                </div>
                &nbsp;
                <asp:Button ID="btnSave" runat="server" Text="保存数据" SkinID="default_button" Width="60px" OnClick="btnSave_Click" />
                 <input id="Button2" type="button" value="返回" style="width:60px" class="button" onclick="javascript:history.back(1);" />
                 </div>
        </div>
    </div>
    </form>
</body>
</html>
